<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格</title>
</head>
<body>
    <table border="1px" cellspacing="0" cellpadding="0" align="center" width="300px">
        <!--行 <tr>-->
        <tr>
            <th>姓名</th>
            <th>年龄</th>
            <th>性别</th>
            <th>数学</th>
            <th>语文</th>
        </tr>

        <tr align="center">
            <td>张三</td>
            <td>23</td>
            <td rowspan="2">男</td>
            <td colspan="2">90</td>
            <!--<td>90</td>-->
        </tr>

        <tr align="center">
            <td>李四</td>
            <td>24</td>
            <!--<td>男</td>-->
            <td>98</td>
            <td>95</td>
        </tr>
    </table>
</body>
</html>